package com.woniu.service;

import com.woniu.entity.RbacManager;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @author:陈涵
 * @Do:用户管理的业务层
 * @date: 2022/8/25 16:43
 */
@Service
public interface RbacManagerService {
    RbacManager findOne(int id);
    List<RbacManager> findAll();
    int addOne(RbacManager rbacManager);
    int updateOne(RbacManager rbacManager);
    int deleteOne(int id);

    List<RbacManager> findByName(String username);

    List<RbacManager> findByIds(Integer[] ids);

    int addOneForMap(Map<String, Object> userinfo);
}
